<?php /* Smarty version 2.6.16, created on 2009-05-04 22:00:57
         compiled from ApproveAlbum.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'ApproveAlbum.html', 1, false),array('function', 'language', 'ApproveAlbum.html', 4, false),array('function', 'html_options', 'ApproveAlbum.html', 20, false),)), $this); ?>
<form id="AlbumApproval_form" action="<?php echo smarty_function_url(array('link' => 'admin.music.albums'), $this);?>
" method="post">
<table class=forumline cellSpacing=0 width="100%" id="album_table">
    <tr>
        <td class="row-header" colspan="6"><span><?php echo smarty_function_language(array('text' => 'albums_for_approval'), $this);?>
</span></td>
    </tr>
    <?php if (! getParam ( 'music_album_approving' )): ?>
    <tr>
    	<td>
		<div class="message_info" style="font-size:10pt;">
				<?php echo smarty_function_language(array('text' => 'Mod_Music.approval_info_album'), $this);?>

		</div>
		</td>
	</tr>		
    <?php else: ?>
    <tr>
        <td class="catBottom" colspan="5"><?php echo smarty_function_language(array('text' => 'here_you_can_approve_music_albums'), $this);?>
</td>
        <td class="catBottom" colspan="1">
        <?php echo smarty_function_language(array('text' => 'show'), $this);?>
 &nbsp;&nbsp;
            <select name="albums_page_size" onchange="makeIt('AlbumApproval_form','<?php echo smarty_function_url(array('link' => 'current','pageA' => 1), $this);?>
');">
                <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['aAlbumsPageSize'],'selected' => $this->_tpl_vars['defAlbumsPageSize']), $this);?>

            </select>
        &nbsp;&nbsp;<?php echo smarty_function_language(array('text' => 'albums_per_page'), $this);?>

        <input type="hidden" name="old_albums_page_size" value="<?php echo $this->_tpl_vars['defAlbumsPageSize']; ?>
" />
        </td>
    </tr>
    <tr>
        <th style="font-size:9pt; text-align:center;" class="row1">
            <input id="All_album" type="checkbox" onClick="CheckAll('AlbumApproval_form','sel_albums[]', document.getElementById('All_album').checked);">
        </th>
        <th style="font-size:9pt;">
            <span><a href="<?php echo $this->_tpl_vars['aSorting']['musician_name']['url']; ?>
" style="color:#FFFFFF"><?php echo smarty_function_language(array('text' => 'musician'), $this);?>
</a><img src="design/pic/<?php echo $this->_tpl_vars['aSorting']['musician_name']['img']; ?>
"></span>
        </th>
        <th style="text-align:center;font-size:9pt;">
            <span><a href="<?php echo $this->_tpl_vars['aSorting']['album_title']['url']; ?>
" style="color:#FFFFFF"><?php echo smarty_function_language(array('text' => 'album_title'), $this);?>
</a><img src="design/pic/<?php echo $this->_tpl_vars['aSorting']['album_title']['img']; ?>
"></span>
        </th>
        <th style="text-align:center;font-size:9pt;">
            <span><a href="<?php echo $this->_tpl_vars['aSorting']['genre_name']['url']; ?>
" style="color:#FFFFFF"><?php echo smarty_function_language(array('text' => 'genre'), $this);?>
</a><img src="design/pic/<?php echo $this->_tpl_vars['aSorting']['genre_name']['img']; ?>
"></span>
        </th>
        <th style="text-align:center;font-size:9pt;">
            <span><a href="<?php echo $this->_tpl_vars['aSorting']['user_name']['url']; ?>
" style="color:#FFFFFF"><?php echo smarty_function_language(array('text' => 'from_member'), $this);?>
</a><img src="design/pic/<?php echo $this->_tpl_vars['aSorting']['user_name']['img']; ?>
"></span>
        </th>
        <th style="text-align:center;font-size:9pt;">
            <span><a href="<?php echo $this->_tpl_vars['aSorting']['album_cdate']['url']; ?>
"  style="color:#FFFFFF"><?php echo smarty_function_language(array('text' => 'date'), $this);?>
</a><img src="design/pic/<?php echo $this->_tpl_vars['aSorting']['album_cdate']['img']; ?>
"></span>
        </th>
    </tr>
	<?php $_from = $this->_tpl_vars['aAlbums']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['album'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['album']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['aAlbum']):
        $this->_foreach['album']['iteration']++;
?>
    <tr>
        <td class="row1" style="text-align:center;"><input name="sel_albums[]" value="<?php echo $this->_tpl_vars['aAlbum']['album_id']; ?>
" id="<?php echo $this->_tpl_vars['aAlbum']['album_id']; ?>
" type="checkbox"></td>
        <td class="row2"><?php echo $this->_tpl_vars['aAlbum']['musician_name']; ?>
</td>
        <td class="row2"><a href="<?php echo smarty_function_url(array('link' => 'admin.music.view-album','id' => $this->_tpl_vars['aAlbum']['album_id']), $this);?>
"><?php echo $this->_tpl_vars['aAlbum']['album_title']; ?>
</a></td>
        <td class="row2">
        <?php if ($this->_tpl_vars['aAlbum']['genre_name']): ?>
            <?php echo smarty_function_language(array('translate' => $this->_tpl_vars['aAlbum']['genre_name']), $this);?>

        <?php else: ?>
            Unknown
        <?php endif; ?>
        </td>
        <td class="row2"><p><?php echo $this->_tpl_vars['aAlbum']['user_name']; ?>
</p></td>
        <td class="row2"><?php echo $this->_tpl_vars['aAlbum']['album_cdate']; ?>
</td>
    </tr>
	<?php endforeach; else: ?>
    <tr>
    <td style="text-align:center" colspan="6" align="center"><div class="message_info"><?php echo smarty_function_language(array('text' => 'there_are_no_unapproved_albums'), $this);?>
</div></td>
    </tr>
	<?php endif; unset($_from); ?>
  <tr>
    <td colspan="6" class="catBottom" style="text-align:center;">
		<input name="approve" value="<?php echo smarty_function_language(array('text' => 'approve_album'), $this);?>
" type="submit">
        <input name="delete" value="<?php echo smarty_function_language(array('text' => 'delete_albums'), $this);?>
" type="submit" onclick="return sure('');">
	</td>
    <tr>
    	<td class="catBottom" colspan="6">
        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/pager.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    </td>
  </tr>
  <?php endif; ?>
</table>
</form>